/**
 * 全局注册自定义过滤器
 * @param app
 */
import * as filters from '@/utils/filters.js'

export function setupGlobalFilter(app) {
  Object.keys(filters).forEach(key => {
    app.filter(key, filters[key])
  })
}
